//
//  Focusimg.m
//  CarHome
//
//  Created by lanou3g on 15/4/25.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "Focusimg.h"

@implementation Focusimg


-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.Id = value;
    }
    
}


-(void)setImgurl:(NSString *)imgurl
{
    
    
    
    if (_imgurl != imgurl) {
        [_imgurl release];
        _imgurl = [imgurl retain];
        
        [ImageDownloader imageDownloaderWithURLStr:imgurl result:^(UIImage *image) {
            
            self.imgData = image;
        }];
        
        
    }
    
    
    
}

-(void)dealloc
{
    [_imgurl release];
    [_title release];
    [_type release];
    
    [_imgData release];
    
    [_Id release];
    [_JumpType release];
    [_jumpurl release];
    [_mediatype release];
    [_pageindex release];
    [_replycount release];
    [_updatetime release];
    
    [super dealloc];

}











@end
